package computacaografica;

import java.awt.Dimension;

import javax.swing.JInternalFrame;

public class FrameOco extends JInternalFrame {

	private static final long serialVersionUID = 4193849252056035156L;

	private TelaGrafica tela;

	public FrameOco(TelaGrafica tela){
		this.tela = tela;
		this.initComponents();
		this.tela.getJDPane().add(this);
	}

	private void initComponents() {
		Dimension d = new Dimension(this.tela.LARG_FER, this.tela.ALT_FER);
		this.setSize(d);
		this.setPreferredSize(d);
		this.setResizable(false);
		this.setClosable(false);
		pack();
		this.setVisible(true);
	}

}
